package com.dog.framework.mqtt.domain;

import org.springframework.messaging.MessageHeaders;

/**
 *
 * @author liuxk
 * @since 2023/11/21
 */
public class IotMessage {
    private String topic;
    private String body;
    private MessageHeaders headers;

    public IotMessage() {
    }

    public String getTopic() {
        return this.topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getBody() {
        return this.body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public MessageHeaders getHeaders() {
        return this.headers;
    }

    public void setHeaders(MessageHeaders headers) {
        this.headers = headers;
    }
}
